package com.young.service.impl;

import com.young.entity.TGood;
import com.young.mapper.TGoodMapper;
import com.young.service.TGoodService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
* @author young
* @date 2021-08-25
* @description t_good :  服务实现类
*/
@Service
public class TGoodServiceImpl extends ServiceImpl<TGoodMapper, TGood> implements TGoodService {
	
	@Autowired
	private TGoodMapper tGoodMapper;

	/**
	*  查询表t_good所有信息
	*/
	@Override
	public List<TGood> findAllTGood() { return tGoodMapper.findAllTGood();}


	/**
	*  根据条件查询表t_good信息
	*  @param tGood
	*/
	@Override
	public List<TGood> findTGoodByCondition(TGood tGood) { return tGoodMapper.findTGoodByCondition(tGood);}




}
